home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 12 / CU Amiga Magazine's Super CD-ROM 12 (1997)(EMAP Images)(GB)[!][issue 1997-07].iso / CUCD / Sound / MusicIn / FFT_float.h < prev    next >
C/C++ Source or Header  |  1995-04-23  |  1KB  |  46 lines

  1. /*------------------------------------------------------------------------------
  2.  
  3.     File    :    FFT_float.h
  4.  
  5.     Author  :    Stéphane TAVENARD
  6.  
  7.     $VER:   FFT_float.h  0.0  (22/04/1995)
  8.  
  9.     (C) Copyright 1995-1995 Stéphane TAVENARD
  10.     All Rights Reserved
  11.  
  12.     #Rev|   Date   |              Comment
  13.     ----|----------|--------------------------------------------------------
  14.     0    |22/04/1995| Initial revision
  15.  
  16.     ------------------------------------------------------------------------
  17.  
  18.     Defintions for FFT for floating point values
  19.  
  20. ------------------------------------------------------------------------------*/
  21.  
  22. #ifndef FFT_FLOAT_H
  23. #define FFT_FLOAT_H
  24.  
  25. #ifndef WORD
  26. #define WORD short
  27. #endif
  28.  
  29. #ifndef FLOAT
  30. #define FLOAT float
  31. #endif
  32.  
  33. #ifndef PI
  34. #define PI 3.14159265358979323846
  35. #endif
  36.  
  37. #define FFT_RANGE_MAX 1024
  38.  
  39. void FFT_FLOAT_forward( FLOAT *x_real, FLOAT *x_imag,
  40.             FLOAT *energy, FLOAT *phi, int n );
  41.  
  42. void FFT_FLOAT_reverse( FLOAT *x_real, FLOAT *x_imag,
  43.             FLOAT *energy, FLOAT *phi, int n );
  44.  
  45. #endif
  46.